<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	{{include file="../Common/header.html"}}
	<link rel="stylesheet" href="Public/Home/Css/member.css" />

<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
{{include file="../Common/memberLeft.html"}}
<!-- 左侧结束 -->
		<div id='right'>
	
			<p class='title'>{{if $smarty.session.uid==$smarty.get.uid}}我{{else}}他{{/if}}的首页</p>

			<ul class='property'>
				<li>金币：<span>{{$login.0.point}}</span></li>
				<li>经验值：<span>{{$login.0.exp}}</span></li>
				<li>采纳率：<span>{{$login.0.c}}</span></li>
			</ul>
			<div class='list'>
				<p><span>{{if $smarty.session.uid==$smarty.get.uid}}我{{else}}他{{/if}}的提问 <b>(共{{$login.0.ask}}条)</b></span><a href="./index.php?c=Member&a=myAsk">更多>></a></p>
				<table>
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>				

					{{section loop=$myaskData name=n}}
						<tr>
							<td class='t1'>
								<a href="{{'Ask/index'|U}}&cid={{$myaskData[n].cid}}&asid={{$myaskData[n].asid}}">{{$myaskData[n].content}}</a><span>[{{$myaskData[n].title}}]</span>
							</td>
							<td>{{$myaskData[n].answer}}</td>
							<td class='t3'>{{$myaskData[n].time|date_format:"%Y-%m-%d"}}</td>
						</tr>
					{{sectionelse}}
						<tr height='140'>
							<td>你还没有进行过提问</td>
						</tr>
					{{/section}}
				</table>
			</div>
			<div class='list'>
				<p><span>{{if $smarty.session.uid==$smarty.get.uid}}我{{else}}他{{/if}}的回答 <b>(共{{$login.0.answer}}条)</b></span><a href="./index.php?c=Member&a=myAnswer">更多>></a></p>
				<table>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
				{{section loop=$myanswerData name=n}}	
					<tr>
						<td class='t1'>
							<a href="{{'Ask/index'|U}}&cid={{$myanswerData[n].cid}}&asid={{$myanswerData[n].asid}}">{{$myanswerData[n].content}}</a><span>[{{$myanswerData[n].title}}]</span>
						</td>
						<td>{{$myanswerData[n].answer}}</td>
						<td class='t3'>{{$myanswerData[n].time|date_format:"%Y-%m-%d"}}</td>
					</tr>
				{{sectionelse}}	
						<tr height='140'>
							<td>你还没有进行过回答</td>
						</tr>					
				{{/section}}	
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->

<!--------------------底部-------------------->
{{include file="../Common/footer.html"}}
<!-- 底部结束 -->